<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <h3>求某个学生成绩总和</h3>
    <p>{{ student_name }}的总和：{{ total.total_score }}</p>
    <h3>求某科目最高/低分</h3>
        <p>{{ subject_name }}的最高成绩：{{ total.max_score }}</p>

        <p>{{ subject_name }}的最低成绩：{{ total.min_score }}</p>
    <h3>求某科目平均分</h3>
        <p>{{ subject_name }}的最值成绩：{{ total.avg_score }}</p>
    <h3>求每个学生成绩总和</h3>
        {% for student in total_list %}
            <p>
            {{ student.student_name }}总成绩：{{  student.sum_score }}
            </p>
        {% endfor %}
</body>
</html>